package residue.iupac.composed;

import residue.GenericComposedResidue;
import residue.GenericMonosaccharideResidue;
import residue.GenericSubstituentResidue;
import residue.Link;
import residue.iupac.monosaccharide.Hex;
import residue.iupac.substituent.NAc;

public class HexNAc extends GenericComposedResidue{

	public HexNAc()
	{
		GenericMonosaccharideResidue hex = new Hex();
		GenericSubstituentResidue nac = new NAc();
		
		Link linkAc = new Link("2","1");
		nac.setLinkToPrevious(linkAc);
		
		super.setMonosaccharide(hex);
		super.addToSubstituents(nac);
	}

}
